package com.swg.config;

import com.swg.bean.AnimalFactory;
import com.swg.bean.Person;
import com.swg.condition.LinuxCondition;
import com.swg.condition.WindowsCondition;
import com.swg.selector.MyImportBeanDefinitionRegistrar;
import com.swg.selector.MyImportSelector;
import org.springframework.context.annotation.*;

/**
 * @Author 【swg】.
 * @Date 2018/5/27 20:55
 * @DESC
 * @CONTACT 317758022@qq.com
 */
@Configuration
@PropertySource(value = "classpath:/db.properties")
public class MainConfig3 {
    @Bean
    public Person person(){
        return new Person();
    }
}
